package jsyf.oa.entity.psi;

import com.alibaba.fastjson.JSONObject;
import jsyf.oa.entity.attach.AttachmentEntity;
import jsyf.oa.entity.system.AuditEntity;
import jsyf.oa.entity.system.AuditHistoryEntity;
import jsyf.oa.entity.system.CopierEntity;

import javax.persistence.Entity;
import java.util.List;

/**
 * Created by Maqiuqiu on 2018/10/22.
 */
@Entity
public class PurchaseEntity {

    private PurchaseManiEntity main;
    private List<AuditEntity> auditors;
    private List<CopierEntity> copiers;
    private List<AttachmentEntity> attaches;
    private List<AuditHistoryEntity> historys;
    private List<JSONObject> goodsInfo;

    public PurchaseManiEntity getMain() {
        return main;
    }

    public void setMain(PurchaseManiEntity main) {
        this.main = main;
    }

    public List<AuditEntity> getAuditors() {
        return auditors;
    }

    public void setAuditors(List<AuditEntity> auditors) {
        this.auditors = auditors;
    }

    public List<CopierEntity> getCopiers() {
        return copiers;
    }

    public void setCopiers(List<CopierEntity> copiers) {
        this.copiers = copiers;
    }

    public List<AttachmentEntity> getAttaches() {
        return attaches;
    }

    public void setAttaches(List<AttachmentEntity> attaches) {
        this.attaches = attaches;
    }

    public List<AuditHistoryEntity> getHistorys() {
        return historys;
    }

    public void setHistorys(List<AuditHistoryEntity> historys) {
        this.historys = historys;
    }

    public List<JSONObject> getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(List<JSONObject> goodsInfo) {
        this.goodsInfo = goodsInfo;
    }
}
